package com.itheima.tlias84.servrce;

import com.itheima.tlias84.dto.SelectAllDeptDTO;
import com.itheima.tlias84.entity.Dept;
import com.itheima.tlias84.po.InsertDeptParam;
import com.itheima.tlias84.utils.ResultUtil;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Date;
import java.util.List;

public interface DeptService {

    List<SelectAllDeptDTO> selectAll() ;

    int insertDept( InsertDeptParam param);


    int deleteById(Integer id);

    SelectAllDeptDTO selectById(Integer id);

    int updateById(Dept dept);

    int batchDelete(List<Integer> ids);
}
